Version

addTargetObject Method

Notifies the behavior that the following element associated with the object is a possible drop target, which means that events such as DragEnter, DragLeave, DragMove, and Drop will fire when the mouse enters the element while in a Drag operation.
Syntax
ASP.NET Ajax Javascript (Specification) 
function addTargetObject( 
   obj : UIObject,
   includeChildren : Boolean
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfDragDropBehavior.addTargetObject(UIObject,Boolean);

Parameters

obj
The object whose associated element should be marked droppable.
includeChildren
Determines whether the DragEnter and DragLeave events should fire only when the mouse enters the specified target element (false), or for each child element of the specified target element (true).
See Also